package com.czwj.entities;

import java.util.Date;
import java.util.List;

public class BudgetExecute{
	private Integer id;
	
	private Integer projectitemid;
	
	private Integer projectitemchildid;
	
	private Integer itemid;
	
	private String content;
	
	private String money;
	
	private Date executedate;
	
	private Integer createrid;
	
	private Date createdate;
	
	private String createip;
	
	private Integer status;
	
	private Integer level1reviewerid;
	
	private Date level1reviewdate;
	
	private Integer level2reviewerid;
	
	private Date level2reviewdate;
	
	private String reason;
	
	private List<Attachment> attachments;
	
	private BudgetItem item;
	
	private ProjectItem projectItem;
	
	private ProjectItemChild projectitemchild;
	
	private UserInfo reviewer1;
	
	private UserInfo reviewer2;
	
	private UserInfo creater;
	
	public BudgetExecute(Integer id,int projectitemid,int projectitemchildid,int itemid,String content,String money,
			Date executedate,int createrid,Date createdate,String createip,int status){
		super();
		this.id = id;
		this.projectitemid = projectitemid;
		this.projectitemchildid = projectitemchildid;
		this.itemid = itemid;
		this.content = content;
		this.money = money;
		this.executedate = executedate;
		this.createrid = createrid;
		this.createdate = createdate;
		this.createip = createip;
		this.status = status;
	}
	
	public BudgetExecute(){
		super();
		// TODO Auto-generated constructor stub
	}
	
	/**
	 * 创建一个新的实例 BudgetExecute.
	 *
	 * @param id2
	 * @param projectitemid2
	 * @param itemid2
	 * @param content2
	 * @param money2
	 * @param parse
	 * @param createrid2
	 * @param date
	 * @param createip2
	 * @param i
	 */
	public BudgetExecute(Integer id,int projectitemid,int itemid,String content,String money,Date executedate,
			int createrid,Date createdate,String createip,int status){
		super();
		this.id = id;
		this.projectitemid = projectitemid;
		this.itemid = itemid;
		this.content = content;
		this.money = money;
		this.executedate = executedate;
		this.createrid = createrid;
		this.createdate = createdate;
		this.createip = createip;
		this.status = status;
	}
	
	public Integer getId(){
		return id;
	}
	
	public void setId(Integer id){
		this.id = id;
	}
	
	public Integer getProjectitemid(){
		return projectitemid;
	}
	
	public void setProjectitemid(Integer projectitemid){
		this.projectitemid = projectitemid;
	}
	
	public Integer getProjectitemchildid(){
		return projectitemchildid;
	}
	
	public void setProjectitemchildid(Integer projectitemchildid){
		this.projectitemchildid = projectitemchildid;
	}
	
	public Integer getItemid(){
		return itemid;
	}
	
	public void setItemid(Integer itemid){
		this.itemid = itemid;
	}
	
	public String getContent(){
		return content;
	}
	
	public void setContent(String content){
		this.content = content == null?null:content.trim();
	}
	
	public String getMoney(){
		return money;
	}
	
	public void setMoney(String money){
		this.money = money == null?null:money.trim();
	}
	
	public Date getExecutedate(){
		return executedate;
	}
	
	public void setExecutedate(Date executedate){
		this.executedate = executedate;
	}
	
	public Integer getCreaterid(){
		return createrid;
	}
	
	public void setCreaterid(Integer createrid){
		this.createrid = createrid;
	}
	
	public Date getCreatedate(){
		return createdate;
	}
	
	public void setCreatedate(Date createdate){
		this.createdate = createdate;
	}
	
	public String getCreateip(){
		return createip;
	}
	
	public void setCreateip(String createip){
		this.createip = createip == null?null:createip.trim();
	}
	
	public Integer getStatus(){
		return status;
	}
	
	public void setStatus(Integer status){
		this.status = status;
	}
	
	public Integer getLevel1reviewerid(){
		return level1reviewerid;
	}
	
	public void setLevel1reviewerid(Integer level1reviewerid){
		this.level1reviewerid = level1reviewerid;
	}
	
	public Date getLevel1reviewdate(){
		return level1reviewdate;
	}
	
	public void setLevel1reviewdate(Date level1reviewdate){
		this.level1reviewdate = level1reviewdate;
	}
	
	public Integer getLevel2reviewerid(){
		return level2reviewerid;
	}
	
	public void setLevel2reviewerid(Integer level2reviewerid){
		this.level2reviewerid = level2reviewerid;
	}
	
	public Date getLevel2reviewdate(){
		return level2reviewdate;
	}
	
	public void setLevel2reviewdate(Date level2reviewdate){
		this.level2reviewdate = level2reviewdate;
	}
	
	public String getReason(){
		return reason;
	}
	
	public void setReason(String reason){
		this.reason = reason == null?null:reason.trim();
	}
	
	public List<Attachment> getAttachments(){
		return attachments;
	}
	
	public void setAttachments(List<Attachment> attachments){
		this.attachments = attachments;
	}
	
	public BudgetItem getItem(){
		return item;
	}
	
	public void setItem(BudgetItem item){
		this.item = item;
	}
	
	public UserInfo getReviewer1(){
		return reviewer1;
	}
	
	public void setReviewer1(UserInfo reviewer1){
		this.reviewer1 = reviewer1;
	}
	
	public UserInfo getReviewer2(){
		return reviewer2;
	}
	
	public void setReviewer2(UserInfo reviewer2){
		this.reviewer2 = reviewer2;
	}
	
	public UserInfo getCreater(){
		return creater;
	}
	
	public void setCreater(UserInfo creater){
		this.creater = creater;
	}
	
	public ProjectItem getProjectItem(){
		return projectItem;
	}
	
	public void setProjectItem(ProjectItem projectItem){
		this.projectItem = projectItem;
	}
	
	public ProjectItemChild getProjectitemchild(){
		return projectitemchild;
	}
	
	public void setProjectitemchild(ProjectItemChild projectitemchild){
		this.projectitemchild = projectitemchild;
	}
}
